<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>驾驶员信息设置编辑</title>
	<script>
        var requireExtraPaths = {
            extrance: '../../../master_js/setting/sysDriverInfoSetEdit'
        };
	</script>
<jsp:include flush="true" page="../../base/base.jsp"></jsp:include>

</head>
<body class="site-dialog-body" style="background-color: #fff;">

	<h2 class="title-style1 mt20">
		<span>驾驶员基础信息</span>
	</h2>

	<form class="mt30 pr-s" id="formData">
		<input type=hidden id="drvId" name="drvId">
		<%--<div class="clearfix logo-upload-wrap">--%>
			<%--<div class="clearfix">--%>
				<!--<div class="logo-upload-box mt30">
					<img  id="img" >
					<input type="file" style="display: none" id="driverHead" name="driverHead" onchange="upload(this);">
					<input id="drvHeadPath" name="drvHeadPath" type="hidden"/><%-- 获取值 --%>
					<span></span>
				</div>
				<input type=hidden id="drvId" name="drvId">
				-->

			<style>
				.img-upload-inline {
					display: inline-block;
					width: 120px;
					height: 120px;
					background: #f6f6f6 url(../../content/images/add-icon1_25.png) center center no-repeat;
					cursor: pointer;
					border: 1px solid #ddd;
					position: relative;
					vertical-align: middle;
				}
				.img-upload-inline .close-btn2{
					width: 23px;
					height: 23px;
					background: url(../../content/images/close-btn3_03.png) no-repeat;
					display: block;
					position: absolute;
					right: 5px;
					top: 5px;
				}
				.upload-driver-img{
					width: 120px;
					height: 120px;
				}

			</style>
		<ul class="form-grid form-grid2 clearfix">
			<li class="h-auto">
				<label class="label-text">
					驾驶员头像：
				</label>
				<div class="img-upload img-upload-inline" id = "uploadImgDiv">
					<a class="close-btn2" id = "emptyImg"></a>
					<img id="img" class = "upload-driver-img">
					<input type="file" style="display: none" id="driverHead" name="driverHead" onchange="upload(this);">
					<input id="drvHeadPath" name="drvHeadPath" type="hidden"/>
				</div>
			</li>
			<li style="position: relative">
				<label class="label-text label-require">
					<span class="red-star">*</span>司机姓名：
				</label>
				<input class="input-text" type="text" id="drvName" name="drvName" placeholder="最大长度为16个字符" maxlength="16" data-validator="{required:true}">
			</li>
			<!-- <li style="position: relative">
				<label class="label-text label-require">
					<span class="red-star">*</span>所属企业：
				</label>
				<input class="input-text" type="text" user-type="treeDialog" placeholder="" readonly="readonly" name='corpName' data-validator="{required:true}"
					   data-options="{url: '/sysCorpInfo/getCorpTree.htm',name: 'corpName',idKey: 'corpId',pIdKey: 'parentCorpId'}">
				<span class="inner-icon-tree"></span> 
			</li> -->
			<li style="position: relative">
				<label class="label-text label-require">
					<span class="red-star">*</span>所属机构：
				</label>
				<input class="input-text" type="text" user-type="treeDialog" placeholder="" readonly="readonly" name='organName' data-validator="{required:true}"
					   data-options="{url: '/baseOrgan/getBaseOrganList.htm',name: 'organName',idKey: 'organId',pIdKey: 'parentOrganId'}">
				<span class="inner-icon-tree"></span> 
				<input type="hidden" id="qcarOrganId-f" name="organId">
				<input type="hidden" id="qcarCorpId-f" name="corpId">
			</li>
			<li class="li-radio">
		    	<label class="label-text">性 别：</label>
				<label class="radio-wrap">
					<input type="radio" checked=""  id="chkGender" name="gender" value="SEX00001">
					<span class="span-text">男</span>
				</label>
				<label class="radio-wrap">
					<input type="radio"  name="gender" value="SEX00002">
					<span class="span-text">女</span>
				</label>
			</li>
			<li>
				<label class="label-text">籍贯：</label> 
				<input class="input-text" type="text"  id="ntvplc" name="ntvplc"  maxlength="10" placeholder="请输入籍贯">
			</li>
			<li>
				<label class="label-text">出生日期：</label> 
				<input class="input-text" type="text" id="birthDate" name="birthDate" readonly="readonly" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" placeholder="格式:YYYY-MM-DD">
			</li>
			<li>
				<label class="label-text">身份证号：</label> 
				<input class="input-text" type="text"  id="idcardNo" name="idcardNo"  maxlength="18"  placeholder="请输入15位或者18位身份证号">
			</li>
			<li>
				<label class="label-text">联系电话：</label> 
				<input class="input-text" type="text"  id="ctcWay" name="ctcWay" data-validator="{length:11}" maxlength="11" placeholder="请输入联系电话">
			</li>
			<li>
				<label class="label-text">联系地址：</label> 
				<input class="input-text" type="text"  id="ctcAdr" name="ctcAdr"  maxlength="30" placeholder="请输入联系地址">
			</li>
			<li>
				<label class="label-text">文化程度：</label> 
				<select style="width: 187px;" dict="DOE00000" name="cultuDgr" id="cultuDgr"></select>
			</li>
			<li>
				<label class="label-text">驾照日期：</label> 
				<input class="input-text" type="text" id="driLicDate" name="driLicDate" readonly="readonly" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" placeholder="格式:YYYY-MM-DD">
			</li>
			<li>
				<label class="label-text">驾驶证类型：</label> 
				<select style="width: 187px;" dict="DLT00000" name="driLicType" id="driLicType"></select>
			</li>
			<li>
				<label class="label-text">入职时间：</label> 
				<input class="input-text" type="text" id="entryDate" name="entryDate" readonly="readonly" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" placeholder="格式:YYYY-MM-DD">
			</li>
			<li>
				<label class="label-text">驾驶证号：</label> 
				<input class="input-text" type="text"  id="driLicNo" name="driLicNo"  maxlength="20" placeholder="请输入驾驶证号">
			</li>
			<li style="position: relative">
				<label class="label-text label-require">
					<span class="red-star">*</span>状态：
				</label>
				<select style="width: 187px;" dict="EMS00000" data-options="{defaults:'EMS00001'}" data-validator="{required:true}" name="st" id="st" ></select>
			</li>
			<li>
				<label class="label-text">员工工号：</label> 
				<input class="input-text" type="text" id="workEmpeEmpno" name="workEmpeEmpno" maxlength="32" placeholder="请输入员工工号">
			</li>
			<li style="position: relative">
				<label class="label-text label-require">
					<span class="red-star">*</span>考勤卡卡号：
				</label>
				<input class="input-text" type="text" id="timecardCardno" name="timecardCardno" data-validator="{required:true}" maxlength="32" placeholder="请输入考勤卡卡号" >
			</li>
			<li>
				<label class="label-text">考勤卡卡面号：</label>
				<input class="input-text" type="text" id="timecardCardnum" name="timecardCardnum" maxlength="32" placeholder="请输入考勤卡卡面号">
			</li>
		    <li class="li-textarea mb0">
				<label class="label-text vt">备注：</label>
				<textarea id="remark" name="remark"  maxlength="200" placeholder="请输入备注" class="vt"></textarea>
			</li>
		</ul>
		
	</form>
</body>
</html>